<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>管理中心-系统设置-基础管理-职位管理</title>
		<link href="css/table.css" rel="stylesheet">
	</head>
	<body>
		<div class="themebd">
			<div class="themetit">
				工资查询
			</div>
			<div class="themecont pdl10 pdr16 minh568">
				<div class="filter">
					<span class="filter_label">检索</span>
					<input class="filter_inp"/>
					<span class="filter_btn" onclick="addJob('职位资料-新增')">添加</span>
				</div>
				<table class="gridview">
					<thead>
						<tr>
							<th>职位名称</th>
							<th>职位分(每月都有)</th>
							<th>审加分权限(每笔)</th>
							<th>审扣分权限(每笔)</th>
							<th>审加分任务(每周)</th>
							<th>审扣分任务(每周)</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>经理</td>
							<td>10</td>
							<td>100</td>
							<td>-100</td>
							<td>50</td>
							<td>-10</td>
							<td>
								<span class="tabtn bulebtn" onclick="addJob('职位资料-编辑')">编辑</span>
								<span class="tabtn graybtn">删除</span>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		
		<div id="addform" class="msgcontent" style="display: none;">
			<ul class="msgul">
				<li>
					<span class="msglabel">职位名称<i class="star">*</i></span>
					<span class="msginfo">
						<input type="text" class="msginp">
					</span>
				</li>
				<li>
					<span class="msglabel">职位分(每月都有)<i class="star">*</i></span>
					<span class="msginfo">
						<input type="text" class="msginp">
					</span>
				</li>
				<li>
					<span class="msglabel">审加分权限(单笔)<i class="star">*</i></span>
					<span class="msginfo">
						<input type="text" class="msginp">
					</span>
				</li>
				<li>
					<span class="msglabel">审扣分权限(单笔)<i class="star">*</i></span>
					<span class="msginfo">
						<input type="text" class="msginp">
					</span>
				</li>
				<li>
					<span class="msglabel">审加分任务(每周)<i class="star">*</i></span>
					<span class="msginfo">
						<input type="text" class="msginp">
					</span>
				</li>
				<li>
					<span class="msglabel"></span>
					<span  class="msginfo">每周需要完成奖多少分出去(未完成自动扣分,在每周结束的时候由系统自动计算未完成量并自动扣)，如果不定奖分任务就填0 
					</span>
				</li>
				<li>
					<span class="msglabel">审扣分任务(每周)<i class="star">*</i></span>
					<span class="msginfo">
						<input type="number" class="msginp">
					</span>
				</li>
				<li>
					<span class="msglabel"></span>
					<span  class="msginfo">每周需要完成扣多少分出去(未完成自动扣分,在每周结束的时候由系统自动计算未完成量并自动扣)，如果不定扣分任务就填0 
					</span>
				</li>
			</ul>
			
			<div id="addsave" class="msgsavebtn">保存</div>
		</div>
		<script>
			$(function(){
				$('#addsave').click(function(){
					layer.closeAll('page');
					$("#addform").hide();
					    
				})
			})	
			function addJob(title){
				layer.open({
					type:1,
					title:title,
					skin: 'layui-layer-demo', //样式类名
					area: ['800px', 'auto'], //宽高				  
					content: $("#addform"),
					cancel: function(){
					    $("#addform").hide();
					}
				});
				
			}
			function delJob(){
				
			}
		</script>
	</body>
</html>
